#define _CRT_SECURE_NO_WARNINGS 1

#include "String.h"

int main()
{
	//my_string::string s = "hello world!";
	////string s("hello");
	//s.push_back('#');
	//s.push_back('*');
	//s.push_back('%');
	//s.push_back('@');

	/*cout << s;*/

	/*for (char c : s)
	{
		cout << c;
	}*/

	/*my_string::string::iterator it = s.begin();
	while (it != s.end())
	{
		cout << *it;
		it++;
	}*/

	my_string::string s = "hello world!";
	//string s = "hello world!";
	//s.resize(20, 'a');
	//s.push_back('a');
	//s.push_back('a');
	//s.push_back('a');
	//s.push_back('a');
	//s.push_back('a');
	//s.append("adunasdhuakjd");

	/*int res = (s == "hello world!");
	cout << res;*/

	//int pos = s.find('a');
	//if (pos != string::npos)
	//{

	//}
	//else
	//{
	//	cout << "not found";
	//}

	//s.insert(1, 'a');
	//s.insert(3, 'a');
	//s.insert(5, 'a');
	//s.insert(7, 'a');
	//s.insert(s.size(), 'a');
	//cout << s;

	//s.insert(0, "aduakj");
	//s.insert(3, "aduakj");
	//s.insert(2, "aduakj");
	//s.insert(4, "aduakj");
	//s.insert(s.size(), "aduakj");
	//cout << s << endl;

	//s.erase(5, 1);
	//cout << s << endl;

	//s.erase(0, 1);
	//cout << s << endl;

	//s.erase(s.size()-1, 1);
	//cout << s << endl;

	cin >> s;
	cout << s;


	return 0;
}